import { listSimpleDictDataApi } from '@/api/common'

const dictionaries = {
  state: () => ({
    myDict: {},
  }),
  mutations: {},
  actions: {
    setMyDict({ state }, payload) {
      state.myDict = payload.myDict
    },
    resetMyDict({ state }) {
      state.myDict = {}
    },
  }
}

export default dictionaries
